<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-09-15 13:28:35
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Models;

use App\Traits\MaterialTrait;

class FinanceBalance extends BaseModel
{
    use MaterialTrait;
    public $timestamps = true;
    public $table = "sys_finance_balance";
    protected $guarded = [];

    protected $casts = [];
    public function subject()
    {
        return $this->belongsTo(Subject::class);
    }
    public function department()
    {
        return $this->belongsTo(FinanceDepartment::class);
    }
}
